<template>
  <div class="main">
    <Theader title="喵喵电影"></Theader>
    <div id="content">
      <div class="cinema_menu">
        <router-link tag="div" to="/theatre/wholecity" class="city_switch">
          全城 <i class="iconfont icon-lower-triangle"></i>
        </router-link>
        <router-link tag="div" to="/theatre/feature" class="brand_swtich">
          品牌 <i class="iconfont icon-lower-triangle"></i>
        </router-link>
        <router-link tag="div" to="/theatre/brand" class="feature_switch">
          特色 <i class="iconfont icon-lower-triangle"></i>
        </router-link>
      </div>
      <router-view></router-view>
    </div>
    <Tfooter></Tfooter>
  </div>
</template>

<script>
import Theader from "@/components/Theader";
import Tfooter from "@/components/Tfooter";
export default {
  name: "Theatre",
  components: { Theader, Tfooter },
};
</script>

<style scoped>
#content .cinema_menu {
  width: 100%;
  height: 45px;
  border-bottom: 1px solid #e6e6e6;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: white;
}
#content .cinema_menu .city_switch.router-link-active {
  color: #f03d37;
}
#content .cinema_menu .brand_swtich.router-link-active {
  color: #f03d37;
}
#content .cinema_menu .feature_switch.router-link-active {
  color: #f03d37;
}
#content .cinema_body {
  flex: 1;
  overflow: auto;
}

.cinema_body ul {
  padding: 20px;
}
.cinema_body li {
  border-bottom: 1px solid #e6e6e6;
  margin-bottom: 20px;
}
.cinema_body div {
  margin-bottom: 10px;
}
.cinema_body .q {
  font-size: 11px;
  color: #f03d37;
}
.cinema_body .price {
  font-size: 18px;
}
.cinema_body .address {
  font-size: 13px;
  color: #666;
}
.cinema_body .address span:nth-of-type(2) {
  float: right;
}
.cinema_body .card {
  display: flex;
}
.cinema_body .card div {
  padding: 0 3px;
  height: 15px;
  line-height: 15px;
  border-radius: 2px;
  color: #f90;
  border: 1px solid #f90;
  font-size: 13px;
  margin-right: 5px;
}
.cinema_body .card div.or {
  color: #f90;
  border: 1px solid #f90;
}
.cinema_body .card div.bl {
  color: #589daf;
  border: 1px solid #589daf;
}
</style>